package repo

import (
	"app/dal/query"
	"app/internal/models"
)

func GetNews() *models.News {
	//fmt.Println(db)
	news := query.Use(db).News
	data, _ := news.First()
	return data
}
